Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Products filtering by channel #11442

Merged
merged 5 commits into from May 13, 2020

Conversation

SirDomin
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
License MIT

@SirDomin SirDomin requested a review from a team as a code owner May 11, 2020 10:29
@CoderMaggie CoderMaggie added Behat Issues and PRs aimed at improving Behat usage. Feature New feature proposals. and removed Behat Issues and PRs aimed at improving Behat usage. labels May 11, 2020
lchrusciel
lchrusciel previously approved these changes May 11, 2020
Copy link
Contributor

@pamil pamil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PR meant to include implementation as well? If so, let's prepend the PR title with [WIP].

@probot-autolabeler probot-autolabeler bot added the Admin AdminBundle related issues and PRs. label May 12, 2020
@SirDomin SirDomin changed the title [Behat] Products filtering by channel [Feature] Products filtering by channel May 12, 2020
@lchrusciel lchrusciel dismissed their stale review May 12, 2020 11:02

not relevant anymore

use Sylius\Component\Grid\Data\DataSourceInterface;
use Sylius\Component\Grid\Filtering\FilterInterface;

final class EntitiesFilter implements FilterInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider moving this class to GridBundle? Also, perhaps for training purposes, we could add spec for this class as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a good idea!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, I'd merge this as it is now and extract it next.

Comment on lines +16 to +18
/**
* {@inheritdoc}
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant docblock

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kinda, but I guess we should remove them once and for all soon.

@lchrusciel lchrusciel merged commit b34e495 into Sylius:master May 13, 2020
@lchrusciel
Copy link
Member

Thank you, @SirDomin! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants